<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Livox SDK API: sdk_core/include/third_party/spdlog/spdlog/details/async_logger_impl.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="1.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Livox SDK API
   &#160;<span id="projectnumber">V2.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('async__logger__impl_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">async_logger_impl.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="async__logger__impl_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Copyright(c) 2015 Gabi Melman.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// Distributed under the MIT License (http://opensource.org/licenses/MIT)</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// async logger implementation</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// uses a thread pool to perform the actual logging</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="thread__pool_8h.html">spdlog/details/thread_pool.h</a>&quot;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;chrono&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classspdlog_1_1async__logger.html#a2a74bf8d8d850ea760396ba8ae55d552">   18</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classspdlog_1_1async__logger.html#a2a74bf8d8d850ea760396ba8ae55d552">spdlog::async_logger::async_logger</a>(</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    std::string logger_name, It <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae3eb46c4e73a862893cc2f99a58938a4">begin</a>, It <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">end</a>, std::weak_ptr&lt;details::thread_pool&gt; tp, <a class="code" href="namespacespdlog.html#a42e109759a11c9514d3f6313a7709852">async_overflow_policy</a> overflow_policy)</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    : <a class="code" href="classspdlog_1_1logger.html">logger</a>(<a class="code" href="namespacestd.html">std</a>::move(logger_name), begin, end)</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    , thread_pool_(<a class="code" href="namespacestd.html">std</a>::move(tp))</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    , overflow_policy_(overflow_policy)</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;{</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;}</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classspdlog_1_1async__logger.html#ad42c05a733917cc7e7b3d9d2ad10a47f">   26</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classspdlog_1_1async__logger.html#a2a74bf8d8d850ea760396ba8ae55d552">spdlog::async_logger::async_logger</a>(</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    std::string logger_name, <a class="code" href="namespacespdlog.html#aa9b5c2298bf713fbe02b7e538d797ecd">sinks_init_list</a> sinks_list, std::weak_ptr&lt;details::thread_pool&gt; tp, <a class="code" href="namespacespdlog.html#a42e109759a11c9514d3f6313a7709852">async_overflow_policy</a> overflow_policy)</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    : <a class="code" href="classspdlog_1_1async__logger.html">async_logger</a>(<a class="code" href="namespacestd.html">std</a>::move(logger_name), sinks_list.<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae3eb46c4e73a862893cc2f99a58938a4">begin</a>(), sinks_list.<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">end</a>(), <a class="code" href="namespacestd.html">std</a>::move(tp), overflow_policy)</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;{</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;}</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classspdlog_1_1async__logger.html#a99dcf454b74db04fe3300c68baff4d79">   32</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classspdlog_1_1async__logger.html#a2a74bf8d8d850ea760396ba8ae55d552">spdlog::async_logger::async_logger</a>(</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    std::string logger_name, <a class="code" href="namespacespdlog.html#a422c57d3088160b517e5a74e5f318253">sink_ptr</a> single_sink, std::weak_ptr&lt;details::thread_pool&gt; tp, <a class="code" href="namespacespdlog.html#a42e109759a11c9514d3f6313a7709852">async_overflow_policy</a> overflow_policy)</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    : <a class="code" href="classspdlog_1_1async__logger.html">async_logger</a>(<a class="code" href="namespacestd.html">std</a>::move(logger_name), {std::move(single_sink)}, std::move(tp), overflow_policy)</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;{</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;}</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">// send the log message to the thread pool</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classspdlog_1_1async__logger.html#aefd367c3266773bfe756d34150705329">   39</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1async__logger.html#aefd367c3266773bfe756d34150705329">spdlog::async_logger::sink_it_</a>(<a class="code" href="structspdlog_1_1details_1_1log__msg.html">details::log_msg</a> &amp;msg)</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;{</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#if defined(SPDLOG_ENABLE_MESSAGE_COUNTER)</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="classspdlog_1_1logger.html#a55bf9c5c960391a56399b5f1ea601b4b">incr_msg_counter_</a>(msg);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordflow">if</span> (<span class="keyword">auto</span> pool_ptr = thread_pool_.lock())</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    {</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        pool_ptr-&gt;post_log(shared_from_this(), msg, overflow_policy_);</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    }</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    {</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <span class="keywordflow">throw</span> <a class="code" href="classspdlog_1_1spdlog__ex.html">spdlog_ex</a>(<span class="stringliteral">&quot;async log: thread pool doesn&#39;t exist anymore&quot;</span>);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    }</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;}</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">// send flush request to the thread pool</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classspdlog_1_1async__logger.html#ae7eeca32af4d650bc1e2dd06122d0224">   55</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1async__logger.html#ae7eeca32af4d650bc1e2dd06122d0224">spdlog::async_logger::flush_</a>()</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;{</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordflow">if</span> (<span class="keyword">auto</span> pool_ptr = thread_pool_.lock())</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    {</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        pool_ptr-&gt;post_flush(shared_from_this(), overflow_policy_);</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    }</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    {</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="keywordflow">throw</span> <a class="code" href="classspdlog_1_1spdlog__ex.html">spdlog_ex</a>(<span class="stringliteral">&quot;async flush: thread pool doesn&#39;t exist anymore&quot;</span>);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;}</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">// backend functions - called from the thread pool to do the actual job</span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classspdlog_1_1async__logger.html#a50a7de9842c326ab5b99cbcc851d9c60">   70</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1async__logger.html#a50a7de9842c326ab5b99cbcc851d9c60">spdlog::async_logger::backend_log_</a>(<span class="keyword">const</span> <a class="code" href="structspdlog_1_1details_1_1log__msg.html">details::log_msg</a> &amp;incoming_log_msg)</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;{</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordflow">try</span></div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    {</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;s : <a class="code" href="classspdlog_1_1logger.html#a24a3b3250f3fe52fa7c3053e77076f07">sinks_</a>)</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        {</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            <span class="keywordflow">if</span> (s-&gt;should_log(incoming_log_msg.<a class="code" href="structspdlog_1_1details_1_1log__msg.html#a4142f4d66140a1ea24053311ebea5706">level</a>))</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            {</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;                s-&gt;log(incoming_log_msg);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;            }</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        }</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <a class="code" href="logger__impl_8h.html#abeca270216d992ce38ca429b9d66f91b">SPDLOG_CATCH_AND_HANDLE</a></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classspdlog_1_1logger.html#aa1bbe703cdeed2aef722a97a2bc1a800">should_flush_</a>(incoming_log_msg))</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    {</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <a class="code" href="classspdlog_1_1async__logger.html#a24a37552c3339c7b129a38a2c4702689">backend_flush_</a>();</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    }</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;}</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classspdlog_1_1async__logger.html#a24a37552c3339c7b129a38a2c4702689">   90</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1async__logger.html#a24a37552c3339c7b129a38a2c4702689">spdlog::async_logger::backend_flush_</a>()</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;{</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordflow">try</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    {</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;sink : <a class="code" href="classspdlog_1_1logger.html#a24a3b3250f3fe52fa7c3053e77076f07">sinks_</a>)</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        {</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;            sink-&gt;flush();</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        }</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    }</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <a class="code" href="logger__impl_8h.html#abeca270216d992ce38ca429b9d66f91b">SPDLOG_CATCH_AND_HANDLE</a></div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;}</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classspdlog_1_1async__logger.html#aef60bc96b78ff98a471dc08977d4cb5c">  102</a></span>&#160;<span class="keyword">inline</span> std::shared_ptr&lt;spdlog::logger&gt; <a class="code" href="classspdlog_1_1async__logger.html#aef60bc96b78ff98a471dc08977d4cb5c">spdlog::async_logger::clone</a>(std::string new_name)</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;{</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keyword">auto</span> cloned = std::make_shared&lt;spdlog::async_logger&gt;(std::move(new_name), <a class="code" href="classspdlog_1_1logger.html#a24a3b3250f3fe52fa7c3053e77076f07">sinks_</a>.begin(), <a class="code" href="classspdlog_1_1logger.html#a24a3b3250f3fe52fa7c3053e77076f07">sinks_</a>.end(), thread_pool_, overflow_policy_);</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    cloned-&gt;set_level(this-&gt;<a class="code" href="classspdlog_1_1logger.html#a6fdaf38b46b34772ffa728e8faa3e857">level</a>());</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    cloned-&gt;flush_on(this-&gt;<a class="code" href="classspdlog_1_1logger.html#a459eb73410f80e574fb3688d2c6e39e0">flush_level</a>());</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    cloned-&gt;set_error_handler(this-&gt;<a class="code" href="classspdlog_1_1logger.html#adbcb6adc49ff0b3dba74d196cf6e125e">error_handler</a>());</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordflow">return</span> std::move(cloned);</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;}</div><div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_ae3eb46c4e73a862893cc2f99a58938a4"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#ae3eb46c4e73a862893cc2f99a58938a4">fmt::v5::internal::begin</a></div><div class="ttdeci">auto begin(const C &amp;c) -&gt; decltype(c.begin())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00251">format.h:251</a></div></div>
<div class="ttc" id="classspdlog_1_1logger_html_a459eb73410f80e574fb3688d2c6e39e0"><div class="ttname"><a href="classspdlog_1_1logger.html#a459eb73410f80e574fb3688d2c6e39e0">spdlog::logger::flush_level</a></div><div class="ttdeci">level::level_enum flush_level() const </div><div class="ttdef"><b>Definition:</b> <a href="logger__impl_8h_source.html#l00342">logger_impl.h:342</a></div></div>
<div class="ttc" id="classspdlog_1_1logger_html_a55bf9c5c960391a56399b5f1ea601b4b"><div class="ttname"><a href="classspdlog_1_1logger.html#a55bf9c5c960391a56399b5f1ea601b4b">spdlog::logger::incr_msg_counter_</a></div><div class="ttdeci">void incr_msg_counter_(details::log_msg &amp;msg)</div><div class="ttdef"><b>Definition:</b> <a href="logger__impl_8h_source.html#l00413">logger_impl.h:413</a></div></div>
<div class="ttc" id="classspdlog_1_1spdlog__ex_html"><div class="ttname"><a href="classspdlog_1_1spdlog__ex.html">spdlog::spdlog_ex</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00175">common.h:175</a></div></div>
<div class="ttc" id="classspdlog_1_1logger_html"><div class="ttname"><a href="classspdlog_1_1logger.html">spdlog::logger</a></div><div class="ttdef"><b>Definition:</b> <a href="logger_8h_source.html#l00031">logger.h:31</a></div></div>
<div class="ttc" id="namespacespdlog_html_a42e109759a11c9514d3f6313a7709852"><div class="ttname"><a href="namespacespdlog.html#a42e109759a11c9514d3f6313a7709852">spdlog::async_overflow_policy</a></div><div class="ttdeci">async_overflow_policy</div><div class="ttdef"><b>Definition:</b> <a href="async__logger_8h_source.html#l00032">async_logger.h:32</a></div></div>
<div class="ttc" id="classspdlog_1_1logger_html_adbcb6adc49ff0b3dba74d196cf6e125e"><div class="ttname"><a href="classspdlog_1_1logger.html#adbcb6adc49ff0b3dba74d196cf6e125e">spdlog::logger::error_handler</a></div><div class="ttdeci">log_err_handler error_handler() const </div><div class="ttdef"><b>Definition:</b> <a href="logger__impl_8h_source.html#l00323">logger_impl.h:323</a></div></div>
<div class="ttc" id="namespacespdlog_html_aa9b5c2298bf713fbe02b7e538d797ecd"><div class="ttname"><a href="namespacespdlog.html#aa9b5c2298bf713fbe02b7e538d797ecd">spdlog::sinks_init_list</a></div><div class="ttdeci">std::initializer_list&lt; sink_ptr &gt; sinks_init_list</div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00081">common.h:81</a></div></div>
<div class="ttc" id="classspdlog_1_1async__logger_html"><div class="ttname"><a href="classspdlog_1_1async__logger.html">spdlog::async_logger</a></div><div class="ttdef"><b>Definition:</b> <a href="async__logger_8h_source.html#l00043">async_logger.h:43</a></div></div>
<div class="ttc" id="logger__impl_8h_html_abeca270216d992ce38ca429b9d66f91b"><div class="ttname"><a href="logger__impl_8h.html#abeca270216d992ce38ca429b9d66f91b">SPDLOG_CATCH_AND_HANDLE</a></div><div class="ttdeci">#define SPDLOG_CATCH_AND_HANDLE</div><div class="ttdef"><b>Definition:</b> <a href="logger__impl_8h_source.html#l00013">logger_impl.h:13</a></div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00297">format.h:297</a></div></div>
<div class="ttc" id="namespacespdlog_html_a422c57d3088160b517e5a74e5f318253"><div class="ttname"><a href="namespacespdlog.html#a422c57d3088160b517e5a74e5f318253">spdlog::sink_ptr</a></div><div class="ttdeci">std::shared_ptr&lt; sinks::sink &gt; sink_ptr</div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00080">common.h:80</a></div></div>
<div class="ttc" id="classspdlog_1_1logger_html_a24a3b3250f3fe52fa7c3053e77076f07"><div class="ttname"><a href="classspdlog_1_1logger.html#a24a3b3250f3fe52fa7c3053e77076f07">spdlog::logger::sinks_</a></div><div class="ttdeci">std::vector&lt; sink_ptr &gt; sinks_</div><div class="ttdef"><b>Definition:</b> <a href="logger_8h_source.html#l00174">logger.h:174</a></div></div>
<div class="ttc" id="classspdlog_1_1async__logger_html_aef60bc96b78ff98a471dc08977d4cb5c"><div class="ttname"><a href="classspdlog_1_1async__logger.html#aef60bc96b78ff98a471dc08977d4cb5c">spdlog::async_logger::clone</a></div><div class="ttdeci">std::shared_ptr&lt; logger &gt; clone(std::string new_name) override</div><div class="ttdef"><b>Definition:</b> <a href="async__logger__impl_8h_source.html#l00102">async_logger_impl.h:102</a></div></div>
<div class="ttc" id="classspdlog_1_1logger_html_aa1bbe703cdeed2aef722a97a2bc1a800"><div class="ttname"><a href="classspdlog_1_1logger.html#aa1bbe703cdeed2aef722a97a2bc1a800">spdlog::logger::should_flush_</a></div><div class="ttdeci">bool should_flush_(const details::log_msg &amp;msg)</div><div class="ttdef"><b>Definition:</b> <a href="logger__impl_8h_source.html#l00347">logger_impl.h:347</a></div></div>
<div class="ttc" id="classspdlog_1_1async__logger_html_ae7eeca32af4d650bc1e2dd06122d0224"><div class="ttname"><a href="classspdlog_1_1async__logger.html#ae7eeca32af4d650bc1e2dd06122d0224">spdlog::async_logger::flush_</a></div><div class="ttdeci">void flush_() override</div><div class="ttdef"><b>Definition:</b> <a href="async__logger__impl_8h_source.html#l00055">async_logger_impl.h:55</a></div></div>
<div class="ttc" id="structspdlog_1_1details_1_1log__msg_html_a4142f4d66140a1ea24053311ebea5706"><div class="ttname"><a href="structspdlog_1_1details_1_1log__msg.html#a4142f4d66140a1ea24053311ebea5706">spdlog::details::log_msg::level</a></div><div class="ttdeci">level::level_enum level</div><div class="ttdef"><b>Definition:</b> <a href="log__msg_8h_source.html#l00042">log_msg.h:42</a></div></div>
<div class="ttc" id="classspdlog_1_1async__logger_html_a2a74bf8d8d850ea760396ba8ae55d552"><div class="ttname"><a href="classspdlog_1_1async__logger.html#a2a74bf8d8d850ea760396ba8ae55d552">spdlog::async_logger::async_logger</a></div><div class="ttdeci">async_logger(std::string logger_name, It begin, It end, std::weak_ptr&lt; details::thread_pool &gt; tp, async_overflow_policy overflow_policy=async_overflow_policy::block)</div><div class="ttdef"><b>Definition:</b> <a href="async__logger__impl_8h_source.html#l00018">async_logger_impl.h:18</a></div></div>
<div class="ttc" id="structspdlog_1_1details_1_1log__msg_html"><div class="ttname"><a href="structspdlog_1_1details_1_1log__msg.html">spdlog::details::log_msg</a></div><div class="ttdef"><b>Definition:</b> <a href="log__msg_8h_source.html#l00016">log_msg.h:16</a></div></div>
<div class="ttc" id="classspdlog_1_1async__logger_html_aefd367c3266773bfe756d34150705329"><div class="ttname"><a href="classspdlog_1_1async__logger.html#aefd367c3266773bfe756d34150705329">spdlog::async_logger::sink_it_</a></div><div class="ttdeci">void sink_it_(details::log_msg &amp;msg) override</div><div class="ttdef"><b>Definition:</b> <a href="async__logger__impl_8h_source.html#l00039">async_logger_impl.h:39</a></div></div>
<div class="ttc" id="classspdlog_1_1async__logger_html_a24a37552c3339c7b129a38a2c4702689"><div class="ttname"><a href="classspdlog_1_1async__logger.html#a24a37552c3339c7b129a38a2c4702689">spdlog::async_logger::backend_flush_</a></div><div class="ttdeci">void backend_flush_()</div><div class="ttdef"><b>Definition:</b> <a href="async__logger__impl_8h_source.html#l00090">async_logger_impl.h:90</a></div></div>
<div class="ttc" id="classspdlog_1_1logger_html_a6fdaf38b46b34772ffa728e8faa3e857"><div class="ttname"><a href="classspdlog_1_1logger.html#a6fdaf38b46b34772ffa728e8faa3e857">spdlog::logger::level</a></div><div class="ttdeci">level::level_enum level() const </div><div class="ttdef"><b>Definition:</b> <a href="logger__impl_8h_source.html#l00358">logger_impl.h:358</a></div></div>
<div class="ttc" id="classspdlog_1_1async__logger_html_a50a7de9842c326ab5b99cbcc851d9c60"><div class="ttname"><a href="classspdlog_1_1async__logger.html#a50a7de9842c326ab5b99cbcc851d9c60">spdlog::async_logger::backend_log_</a></div><div class="ttdeci">void backend_log_(const details::log_msg &amp;incoming_log_msg)</div><div class="ttdef"><b>Definition:</b> <a href="async__logger__impl_8h_source.html#l00070">async_logger_impl.h:70</a></div></div>
<div class="ttc" id="thread__pool_8h_html"><div class="ttname"><a href="thread__pool_8h.html">thread_pool.h</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a1f190af8f5561392e03519562384d3b8"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">fmt::v5::internal::end</a></div><div class="ttdeci">auto end(const C &amp;c) -&gt; decltype(c.end())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00257">format.h:257</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5f1136fe404e0a548faf586fae339a6a.html">sdk_core</a></li><li class="navelem"><a class="el" href="dir_fef6b6f1028f30fedf17225feaaa02fe.html">include</a></li><li class="navelem"><a class="el" href="dir_7bb3e31efd6b819bbb0704cee4a66d41.html">third_party</a></li><li class="navelem"><a class="el" href="dir_cf58c3a45797022668a1e269b5315a33.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_248a80cf6760c7a1ab13394a1c16f7b2.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_7d093cd833acfccb787639923feedd9d.html">details</a></li><li class="navelem"><a class="el" href="async__logger__impl_8h.html">async_logger_impl.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
